<template>
	<jk-view :loading="showLoading">
		<form-box
			ref="formBox"
			:page-type="pageType"
			:loading.sync="showLoading"
			@return="onReturnData"
		></form-box>
	</jk-view>
</template>

<script>
    import mx from './mx';
    export default {
        name: 'LtReport',
        mixins: [mx],
        data() {
            return {
                pageType: 'edit'
            };
        },
        methods: {
            onReturnData(e) {
                this.ruleForm = e;
            },
            onOperationBar(val1, val2) {
                this.$refs.formBox.onOperationBarEventOfAddOrEditPage(val1, val2);
            }
        }
    };
</script>
<style scoped lang="scss">
</style>
